Optimal. Leaf size=111 \[ \frac {2 (e f-d g) \left (c f^2+a g^2\right )}{g^4 \sqrt {f+g x}}+\frac {2 \left (a e g^2+c f (3 e f-2 d g)\right ) \sqrt {f+g x}}{g^4}-\frac {2 c (3 e f-d g) (f+g x)^{3/2}}{3 g^4}+\frac {2 c e (f+g x)^{5/2}}{5 g^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 111, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {786}
\begin {gather*} \frac {2 \left (a g^2+c f^2\right ) (e f-d g)}{g^4 \sqrt {f+g x}}+\frac {2 \sqrt {f+g x} \left (a e g^2+c f (3 e f-2 d g)\right )}{g^4}-\frac {2 c (f+g x)^{3/2} (3 e f-d g)}{3 g^4}+\frac {2 c e (f+g x)^{5/2}}{5 g^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 786
Rubi steps
\begin {align*} \int \frac {(d+e x) \left (a+c x^2\right )}{(f+g x)^{3/2}} \, dx &=\int \left (\frac {(-e f+d g) \left (c f^2+a g^2\right )}{g^3 (f+g x)^{3/2}}+\frac {a e g^2+c f (3 e f-2 d g)}{g^3 \sqrt {f+g x}}+\frac {c (-3 e f+d g) \sqrt {f+g x}}{g^3}+\frac {c e (f+g x)^{3/2}}{g^3}\right ) \, dx\\ &=\frac {2 (e f-d g) \left (c f^2+a g^2\right )}{g^4 \sqrt {f+g x}}+\frac {2 \left (a e g^2+c f (3 e f-2 d g)\right ) \sqrt {f+g x}}{g^4}-\frac {2 c (3 e f-d g) (f+g x)^{3/2}}{3 g^4}+\frac {2 c e (f+g x)^{5/2}}{5 g^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 92, normalized size = 0.83 \begin {gather*} \frac {30 a g^2 (2 e f-d g+e g x)+10 c d g \left (-8 f^2-4 f g x+g^2 x^2\right )+6 c e \left (16 f^3+8 f^2 g x-2 f g^2 x^2+g^3 x^3\right )}{15 g^4 \sqrt {f+g x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 120, normalized size = 1.08
method | result | size |
gosper | \(-\frac {2 \left (-3 c e \,x^{3} g^{3}-5 c d \,g^{3} x^{2}+6 c e f \,g^{2} x^{2}-15 a e \,g^{3} x +20 c d f \,g^{2} x -24 c e \,f^{2} g x +15 a d \,g^{3}-30 a e f \,g^{2}+40 c d \,f^{2} g -48 c e \,f^{3}\right )}{15 \sqrt {g x +f}\, g^{4}}\) | \(101\) |
trager | \(-\frac {2 \left (-3 c e \,x^{3} g^{3}-5 c d \,g^{3} x^{2}+6 c e f \,g^{2} x^{2}-15 a e \,g^{3} x +20 c d f \,g^{2} x -24 c e \,f^{2} g x +15 a d \,g^{3}-30 a e f \,g^{2}+40 c d \,f^{2} g -48 c e \,f^{3}\right )}{15 \sqrt {g x +f}\, g^{4}}\) | \(101\) |
risch | \(\frac {2 \left (3 c e \,x^{2} g^{2}+5 c d x \,g^{2}-9 c e f g x +15 a e \,g^{2}-25 c d f g +33 c e \,f^{2}\right ) \sqrt {g x +f}}{15 g^{4}}-\frac {2 \left (a d \,g^{3}-a e f \,g^{2}+c d \,f^{2} g -c e \,f^{3}\right )}{g^{4} \sqrt {g x +f}}\) | \(101\) |
derivativedivides | \(\frac {\frac {2 c e \left (g x +f \right )^{\frac {5}{2}}}{5}+\frac {2 c d g \left (g x +f \right )^{\frac {3}{2}}}{3}-2 c e f \left (g x +f \right )^{\frac {3}{2}}+2 a \,g^{2} e \sqrt {g x +f}-4 c d f g \sqrt {g x +f}+6 c \,f^{2} e \sqrt {g x +f}-\frac {2 \left (a d \,g^{3}-a e f \,g^{2}+c d \,f^{2} g -c e \,f^{3}\right )}{\sqrt {g x +f}}}{g^{4}}\) | \(120\) |
default | \(\frac {\frac {2 c e \left (g x +f \right )^{\frac {5}{2}}}{5}+\frac {2 c d g \left (g x +f \right )^{\frac {3}{2}}}{3}-2 c e f \left (g x +f \right )^{\frac {3}{2}}+2 a \,g^{2} e \sqrt {g x +f}-4 c d f g \sqrt {g x +f}+6 c \,f^{2} e \sqrt {g x +f}-\frac {2 \left (a d \,g^{3}-a e f \,g^{2}+c d \,f^{2} g -c e \,f^{3}\right )}{\sqrt {g x +f}}}{g^{4}}\) | \(120\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 118, normalized size = 1.06 \begin {gather*} \frac {2 \, {\left (\frac {3 \, {\left (g x + f\right )}^{\frac {5}{2}} c e + 5 \, {\left (c d g - 3 \, c f e\right )} {\left (g x + f\right )}^{\frac {3}{2}} - 15 \, {\left (2 \, c d f g - 3 \, c f^{2} e - a g^{2} e\right )} \sqrt {g x + f}}{g^{3}} - \frac {15 \, {\left (c d f^{2} g + a d g^{3} - c f^{3} e - a f g^{2} e\right )}}{\sqrt {g x + f} g^{3}}\right )}}{15 \, g} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.17, size = 109, normalized size = 0.98 \begin {gather*} \frac {2 \, {\left (5 \, c d g^{3} x^{2} - 20 \, c d f g^{2} x - 40 \, c d f^{2} g - 15 \, a d g^{3} + 3 \, {\left (c g^{3} x^{3} - 2 \, c f g^{2} x^{2} + 16 \, c f^{3} + 10 \, a f g^{2} + {\left (8 \, c f^{2} g + 5 \, a g^{3}\right )} x\right )} e\right )} \sqrt {g x + f}}{15 \, {\left (g^{5} x + f g^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 8.33, size = 112, normalized size = 1.01 \begin {gather*} \frac {2 c e \left (f + g x\right )^{\frac {5}{2}}}{5 g^{4}} + \frac {\left (f + g x\right )^{\frac {3}{2}} \cdot \left (2 c d g - 6 c e f\right )}{3 g^{4}} + \frac {\sqrt {f + g x} \left (2 a e g^{2} - 4 c d f g + 6 c e f^{2}\right )}{g^{4}} - \frac {2 \left (a g^{2} + c f^{2}\right ) \left (d g - e f\right )}{g^{4} \sqrt {f + g x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.47, size = 143, normalized size = 1.29 \begin {gather*} -\frac {2 \, {\left (c d f^{2} g + a d g^{3} - c f^{3} e - a f g^{2} e\right )}}{\sqrt {g x + f} g^{4}} + \frac {2 \, {\left (5 \, {\left (g x + f\right )}^{\frac {3}{2}} c d g^{17} - 30 \, \sqrt {g x + f} c d f g^{17} + 3 \, {\left (g x + f\right )}^{\frac {5}{2}} c g^{16} e - 15 \, {\left (g x + f\right )}^{\frac {3}{2}} c f g^{16} e + 45 \, \sqrt {g x + f} c f^{2} g^{16} e + 15 \, \sqrt {g x + f} a g^{18} e\right )}}{15 \, g^{20}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 111, normalized size = 1.00 \begin {gather*} \frac {\sqrt {f+g\,x}\,\left (6\,c\,e\,f^2-4\,c\,d\,f\,g+2\,a\,e\,g^2\right )}{g^4}-\frac {-2\,c\,e\,f^3+2\,c\,d\,f^2\,g-2\,a\,e\,f\,g^2+2\,a\,d\,g^3}{g^4\,\sqrt {f+g\,x}}+\frac {2\,c\,e\,{\left (f+g\,x\right )}^{5/2}}{5\,g^4}+\frac {2\,c\,{\left (f+g\,x\right )}^{3/2}\,\left (d\,g-3\,e\,f\right )}{3\,g^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________